<div class="fly-panel fly-column">
  <div class="layui-container">
    <ul class="layui-clear">
      <li  <#if type?? && type == "all">class="layui-hide-xs layui-this" </#if> ><a href="${request.contextPath}/">首页</a></li> 
      <li  <#if type?? && type == "quiz"> class="layui-hide-xs layui-this" </#if> ><a href="${request.contextPath}/front/quiz">提问</a></li> 
      <li  <#if type?? && type == "share"> class="layui-hide-xs layui-this" </#if> ><a href="${request.contextPath}/front/share">分享<span class="layui-badge-dot"></span></a></li> 
      <li  <#if type?? && type == "discuss"> class="layui-hide-xs layui-this" </#if> ><a href="${request.contextPath}/front/discuss">讨论</a></li> 
      <li  <#if type?? && type == "suggest"> class="layui-hide-xs layui-this" </#if> ><a href="${request.contextPath}/front/suggest">建议</a></li> 
      <li  <#if type?? && type == "notice"> class="layui-hide-xs layui-this" </#if> ><a href="${request.contextPath}/front/notice">公告</a></li> 
      <li  <#if type?? && type == "news"> class="layui-hide-xs layui-this" </#if> ><a href="${request.contextPath}/front/news">动态</a></li>
      <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li> 
      
      <!-- 用户登入后显示 -->
      <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="${request.contextPath}/user/index">我发表的贴</a></li> 
      <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="${request.contextPath}/user/index#collection">我收藏的贴</a></li> 
    </ul> 
    
    <div class="fly-column-right layui-hide-xs"> 
      <span class="fly-search"><i class="layui-icon"></i></span> 
      <a href="${request.contextPath}/jie/add" class="layui-btn">发表新帖</a> 
    </div> 
    <div class="layui-hide-sm layui-show-xs-block" style="margin-top: -10px; padding-bottom: 10px; text-align: center;"> 
      <a href="${request.contextPath}/jie/add" class="layui-btn">发表新帖</a> 
    </div> 
  </div>
</div>